WCPM\Classes\Admin\Admin D

Total Complexity 324
Dependencies 10
Dependents 1
Total lines 4,277
Lines of code 3,603
Logical lines of code 967
Comment lines 241
Methods 133
Properties 6

Methods 133

Method Rating Maintainability Complexity Lines of code
wpm_options_validate()
D
19
71 176
wpm_plugin_section_diagnostics_html()
B
28
7 257
add_section_advanced_subsection_cookie_consent_mgmt()
A
36 8 99
pmw_option_html_shop_order_total_logic()
A
39 8 92
add_section_advanced_subsection_google()
A
36 7 105
pmw_setting_html_g4_data_api_credentials()
A
37 3 124
add_section_advanced_subsection_shop()
A
39 5 82
wpm_plugin_option_google_business_vertical()
S
38 1 116
wpm_plugin_section_support_description()
S
40 1 110
get_gateway_accuracy_warning_status()
S
60 7 13
add_section_main_subsection_more_pixels()
S
42 3 66
wpm_setting_html_google_user_id()
S
51 5 29
pmw_setting_html_google_ads_conversion_adjustments_feed()
S
43 2 74
__construct()
S
49 5 27
wpm_setting_html_google_analytics_link_attribution()
S
53 5 26
merge_options()
S
56 5 19
get_status_icon()
S
64 6 10
add_section_dynamic_remarketing()
S
47 3 44
pmw_setting_tiktok_advanced_matching()
S
52 4 29
pmw_setting_tiktok_eapi_process_anonymous_hits()
S
52 4 29
wpm_setting_html_google_consent_regions()
S
49 3 42
wpm_admin_css()
S
62 5 11
pmw_setting_html_google_ads_conversion_adjustments_conversion_name()
S
49 3 38
add_section_advanced_subsection_facebook()
S
45 2 52
wpm_plugin_option_product_identifier()
S
45 1 65
wpm_setting_html_disable_tracking_for_user_roles()
S
52 3 33
wpm_plugin_admin_init()
S
59 4 15
pmw_setting_facebook_advanced_matching()
S
52 3 29
wpm_setting_facebook_capi_user_transparency_process_anonymous_hits()
S
52 3 29
deduplication_check()
S
60 4 14
wpm_plugin_options_page()
S
47 1 59
wpm_setting_html_facebook_microdata()
S
52 3 28
add_section_advanced_subsection_twitter()
S
44 1 57
wpm_option_html_google_ads_conversion_label()
S
54 3 23
wpm_setting_html_google_ads_enhanced_conversions()
S
50 2 37
add_section_advanced()
S
54 3 22
inject_developer_banner()
S
49 1 52
pmw_setting_html_tiktok_eapi_test_event_code()
S
51 2 36
pmw_setting_html_facebook_capi_test_event_code()
S
51 2 36
add_section_main_subsection_google_ads()
S
46 1 50
pmw_setting_html_tiktok_eapi_token()
S
51 2 34
add_to_cart_requirements_fulfilled()
S
68 4 7
wpm_admin_scripts()
S
52 2 29
add_section_advanced_subsection_tiktok()
S
47 1 43
wpm_setting_html_google_analytics_4_api_secret()
S
53 2 26
wpm_setting_html_facebook_capi_token()
S
54 2 24
wpm_setting_html_google_ads_phone_conversion_number()
S
56 2 21
wpm_setting_html_order_duplication_prevention()
S
52 1 36
wpm_setting_html_google_ads_phone_conversion_label()
S
57 2 20
support_info_for_freemius()
S
55 1 31
pmw_edit_order_scripts()
S
58 2 16
if_is_wpm_admin_page()
S
66 3 8
disable_if_demo()
S
68 3 7
html_pro_feature()
S
66 3 9
html_subscription_value_multiplier()
S
54 1 30
wpm_option_html_google_ads_dynamic_remarketing()
S
55 1 27
pmw_info_html_scroll_tracker_thresholds()
S
54 1 27
wpm_option_html_variations_output()
S
54 1 27
html_lazy_load_pmw()
S
55 1 27
pmw_setting_twitter_initiate_checkout()
S
54 1 26
pmw_setting_twitter_search()
S
54 1 26
pmw_setting_twitter_view_content()
S
54 1 26
pmw_setting_twitter_add_to_wishlist()
S
54 1 26
wpm_setting_html_explicit_consent_mode()
S
54 1 26
pmw_setting_twitter_add_to_cart()
S
54 1 26
pmw_setting_twitter_purchase()
S
54 1 26
wpm_setting_html_google_consent_mode_active()
S
55 1 25
pmw_option_html_pinterest_pixel_id()
S
56 1 22
wpm_option_html_snapchat_pixel_id()
S
56 1 22
wpm_option_html_tiktok_pixel_id()
S
56 1 22
add_section_main_subsection_facebook()
S
55 1 22
wpm_option_html_twitter_pixel_id()
S
56 1 22
wpm_option_html_bing_uet_tag_id()
S
56 1 22
wpm_plugin_setting_aw_merchant_id()
S
58 1 21
wpm_plugin_section_author_description()
S
60 1 21
wpm_option_html_google_optimize_container_id()
S
57 1 20
pmw_setting_html_ga4_property_id()
S
57 1 19
pmw_info_html_order_list_info()
S
59 1 19
pmw_option_html_pinterest_enhanced_match()
S
59 1 19
wpm_option_html_google_analytics_universal_property()
S
58 1 18
wpm_option_html_facebook_pixel_id()
S
59 1 18
wpm_option_html_google_ads_conversion_id()
S
58 1 18
non_form_keys()
S
58 1 18
wpm_option_html_google_analytics_4_id()
S
58 1 18
wpm_setting_html_maximum_compatibility_mode()
S
60 1 17
wpm_option_html_hotjar_site_id()
S
59 1 17
add_section_main()
S
58 1 17
info_for_translators()
S
62 1 17
get_instance()
S
72 2 6
pro_version_demo_active()
S
69 2 7
support_info_for_wc_market()
S
65 1 15
get_submenu_parent_slug()
S
70 2 7
get_link_locale()
S
69 2 7
wpm_info_html_google_analytics_eec()
S
72 2 5
add_section_diagnostics()
S
60 1 14
add_section_opportunities()
S
60 1 14
add_section_support()
S
60 1 14
add_section_author()
S
60 1 14
get_documentation_html()
S
64 1 13
html_beta_e()
S
65 1 13
output_section_data_field()
S
64 1 11
html_active_new()
S
72 1 7
html_inactive()
S
78 1 3
html_inactive_new()
S
72 1 7
html_partially_active()
S
78 1 3
html_partially_active_new()
S
72 1 7
wpm_setting_html_cookie_script_support()
S
73 1 5
wpm_plugin_admin_add_page()
S
65 1 10
load_plugin_textdomain()
S
77 1 3
fs_inject_additional_scripts()
S
80 1 3
fs_after_purchase_js()
S
82 1 3
deduper_enable()
S
75 1 4
freemius_enqueue_deactivation_button_js()
S
67 1 9
freemius_load_deactivation_button_js()
S
79 1 3
set_array_value_to_zero()
S
71 1 6
html_active()
S
78 1 3
html_beta()
S
78 1 3
get_documentation_html_by_key()
S
80 1 3
wpm_setting_html_cookie_notice_support()
S
73 1 5
wpm_setting_html_complianz_support()
S
73 1 5
wpm_setting_html_cookiebot_support()
S
73 1 5
wpm_setting_html_moove_gdpr_support()
S
73 1 5
wpm_section_generic_opening_div_html()
S
77 1 3
get_order_duplication_prevention_text()
S
80 1 3
wpm_subsection_generic_opening_div_html()
S
76 1 3
wpm_setting_html_borlabs_support()
S
73 1 5
wpm_plugin_section_main_description()
S
91 1 2
wpm_plugin_section_advanced_description()
S
91 1 2
wpm_info_html_acr()
S
71 1 6
wpm_plugin_section_add_cart_data_description()
S
91 1 2
wpm_plugin_section_opportunities_html()
S
82 1 3
get_documentation_html_e()
S
68 1 7
wpm_setting_html_cookie_law_info_support()
S
73 1 5